package com.order.enums;

public enum RefundStatus {
    // 退款状态 0:申请中 1:退款中 2:退款成功 3:退款失败 4:取消退款
    APPLYING((byte)0, "申请中"),
    REFUNDING((byte)1, "退款中"),
    SUCCESS((byte)2, "退款成功"),
    FAIL((byte)3, "退款失败"),
    CANCEL((byte)4, "取消退款");
    private final byte code;
    private final String message;
    RefundStatus(byte code, String message) {
        this.code = code;
        this.message = message;
    }

    public byte getCode() {
        return code;
    }
}
